package msfgui;

/**
 *
 * @author scriptjunkie
 */
public class OptionsDialog extends javax.swing.JDialog {

	protected String command;

	//Opens dialog to get options
	public String getCommand(){
		setVisible(true);
		return command;
	}
	public String toString(){
		return getCommand();
	}

    /** Creates new form OptionsDialog */
    public OptionsDialog(java.awt.Frame parent, String title, boolean modal) {
        super(parent, title, modal);
		command = null;
		org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(
				msfgui.MsfguiApp.class).getContext().getResourceMap(ModulePopup.class);
		this.setIconImage(resourceMap.getImageIcon("main.icon").getImage());
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        getContentPane().setLayout(null);
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}
